
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<jsp:include page="header.jsp" />
<div id="forminput" class="greyborder">
	<div class="contentcell loginboxleft" >
		&nbsp;
	</div>
	<div class="contentcell">
		<div class="ui-widget-header">
			<h6 align="center">
				<fmt:message key="login.page.title" />
			</h6>
		</div>
		<form:errors/>
		<div class="ui-widget-content">
			<form action="<c:url value='${uri}'/>" method="post">
				<div>
					<div>
						<span><label for="username" class="ui-widget"><fmt:message key="username.label" /></label></span> 
						<span><input class="ui-widget" name="${username}" id="username" type="text" size="15" /></span>
					</div>
					<div>
						<span><label for="password" class="ui-widget"><fmt:message key="password.label" /></label></span> 
						<span><input class="ui-widget" name="${password}" id="password" type="password" size="15" /></span>
					</div>
				</div>
				<div>
					<input type="submit" value="<fmt:message key="login.submit.button.text"/>" class="ui-button">
				</div>
			</form>
		</div>
	</div>
</div>
<jsp:include page="footer.jsp"></jsp:include>